<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>Graphes  - Algorithmes de parcours  -: Référence de la classe tp2::Ville</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Graphes  - Algorithmes de parcours  -
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Généré par Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="namespaces.html"><span>Espaces&#160;de&#160;nommage</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Liste&#160;des&#160;classes</span></a></li>
      <li><a href="inherits.html"><span>Hiérarchie&#160;des&#160;classes</span></a></li>
      <li><a href="functions.html"><span>Membres&#160;de&#160;classe</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacetp2.html">tp2</a></li><li class="navelem"><a class="el" href="classtp2_1_1_ville.html">Ville</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Fonctions membres publiques</a> &#124;
<a href="#pri-attribs">Attributs privés</a> &#124;
<a href="#friends">Amis</a> &#124;
<a href="classtp2_1_1_ville-members.html">Liste de tous les membres</a>  </div>
  <div class="headertitle">
<div class="title">Référence de la classe tp2::Ville</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_ville_8h_source.html">Ville.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Fonctions membres publiques</h2></td></tr>
<tr class="memitem:a5ce647798421e22449c8825eb39e72ae"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtp2_1_1_ville.html#a5ce647798421e22449c8825eb39e72ae">Ville</a> (const std::string &amp;p_nom, const std::string &amp;p_codeAeroport)</td></tr>
<tr class="separator:a5ce647798421e22449c8825eb39e72ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9514b31741e0c064c952399c0f2d9df"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtp2_1_1_ville.html#ad9514b31741e0c064c952399c0f2d9df">Ville</a> ()</td></tr>
<tr class="separator:ad9514b31741e0c064c952399c0f2d9df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43c4386edae16ad0c2cd67b44aeaf536"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtp2_1_1_ville.html#a43c4386edae16ad0c2cd67b44aeaf536">reqCodeAeroport</a> () const </td></tr>
<tr class="separator:a43c4386edae16ad0c2cd67b44aeaf536"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7abe57d51aa825269f77f46a8e7d1c14"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtp2_1_1_ville.html#a7abe57d51aa825269f77f46a8e7d1c14">reqNom</a> () const </td></tr>
<tr class="separator:a7abe57d51aa825269f77f46a8e7d1c14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae02a533b1480dd5302e1a8f66dc7737"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtp2_1_1_ville.html#aae02a533b1480dd5302e1a8f66dc7737">operator==</a> (const <a class="el" href="classtp2_1_1_ville.html">Ville</a> &amp;p_ville) const </td></tr>
<tr class="separator:aae02a533b1480dd5302e1a8f66dc7737"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Attributs privés</h2></td></tr>
<tr class="memitem:a0d09e7e88fdb306b3fe93f94bbd3f27f"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtp2_1_1_ville.html#a0d09e7e88fdb306b3fe93f94bbd3f27f">m_nom</a></td></tr>
<tr class="separator:a0d09e7e88fdb306b3fe93f94bbd3f27f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0d8cfb732eba3b860385a04e8d6b151"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtp2_1_1_ville.html#ab0d8cfb732eba3b860385a04e8d6b151">m_codeAeroport</a></td></tr>
<tr class="separator:ab0d8cfb732eba3b860385a04e8d6b151"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Amis</h2></td></tr>
<tr class="memitem:ace72ca1e6e94135f0304ac3146f6984d"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtp2_1_1_ville.html#ace72ca1e6e94135f0304ac3146f6984d">operator&lt;&lt;</a> (std::ostream &amp;out, const <a class="el" href="classtp2_1_1_ville.html">Ville</a> &amp;p_ville)</td></tr>
<tr class="separator:ace72ca1e6e94135f0304ac3146f6984d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Description détaillée</h2>
<div class="textblock">
<p>Définition à la ligne <a class="el" href="_ville_8h_source.html#l00013">13</a> du fichier <a class="el" href="_ville_8h_source.html">Ville.h</a>.</p>
</div><h2 class="groupheader">Documentation des constructeurs et destructeur</h2>
<a class="anchor" id="a5ce647798421e22449c8825eb39e72ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">tp2::Ville::Ville </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>p_nom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>p_codeAeroport</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_ville_8cpp_source.html#l00010">10</a> du fichier <a class="el" href="_ville_8cpp_source.html">Ville.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;                                                                        :</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;            <a class="code" href="classtp2_1_1_ville.html#a0d09e7e88fdb306b3fe93f94bbd3f27f">m_nom</a>(p_nom), <a class="code" href="classtp2_1_1_ville.html#ab0d8cfb732eba3b860385a04e8d6b151">m_codeAeroport</a>(p_codeAeroport)</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;    {</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;    }</div>
<div class="ttc" id="classtp2_1_1_ville_html_ab0d8cfb732eba3b860385a04e8d6b151"><div class="ttname"><a href="classtp2_1_1_ville.html#ab0d8cfb732eba3b860385a04e8d6b151">tp2::Ville::m_codeAeroport</a></div><div class="ttdeci">std::string m_codeAeroport</div><div class="ttdef"><b>Definition:</b> <a href="_ville_8h_source.html#l00026">Ville.h:26</a></div></div>
<div class="ttc" id="classtp2_1_1_ville_html_a0d09e7e88fdb306b3fe93f94bbd3f27f"><div class="ttname"><a href="classtp2_1_1_ville.html#a0d09e7e88fdb306b3fe93f94bbd3f27f">tp2::Ville::m_nom</a></div><div class="ttdeci">std::string m_nom</div><div class="ttdef"><b>Definition:</b> <a href="_ville_8h_source.html#l00025">Ville.h:25</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ad9514b31741e0c064c952399c0f2d9df"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">tp2::Ville::Ville </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_ville_8cpp_source.html#l00015">15</a> du fichier <a class="el" href="_ville_8cpp_source.html">Ville.cpp</a>.</p>

<p>Références <a class="el" href="_ville_8h_source.html#l00026">m_codeAeroport</a>, et <a class="el" href="_ville_8h_source.html#l00025">m_nom</a>.</p>
<div class="fragment"><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;    {</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;        <a class="code" href="classtp2_1_1_ville.html#ab0d8cfb732eba3b860385a04e8d6b151">m_codeAeroport</a> = <span class="stringliteral">&quot;&quot;</span>;</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;        <a class="code" href="classtp2_1_1_ville.html#a0d09e7e88fdb306b3fe93f94bbd3f27f">m_nom</a> = <span class="stringliteral">&quot;&quot;</span>;</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    }</div>
<div class="ttc" id="classtp2_1_1_ville_html_ab0d8cfb732eba3b860385a04e8d6b151"><div class="ttname"><a href="classtp2_1_1_ville.html#ab0d8cfb732eba3b860385a04e8d6b151">tp2::Ville::m_codeAeroport</a></div><div class="ttdeci">std::string m_codeAeroport</div><div class="ttdef"><b>Definition:</b> <a href="_ville_8h_source.html#l00026">Ville.h:26</a></div></div>
<div class="ttc" id="classtp2_1_1_ville_html_a0d09e7e88fdb306b3fe93f94bbd3f27f"><div class="ttname"><a href="classtp2_1_1_ville.html#a0d09e7e88fdb306b3fe93f94bbd3f27f">tp2::Ville::m_nom</a></div><div class="ttdeci">std::string m_nom</div><div class="ttdef"><b>Definition:</b> <a href="_ville_8h_source.html#l00025">Ville.h:25</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Documentation des fonctions membres</h2>
<a class="anchor" id="aae02a533b1480dd5302e1a8f66dc7737"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool tp2::Ville::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classtp2_1_1_ville.html">Ville</a> &amp;&#160;</td>
          <td class="paramname"><em>p_ville</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_ville_8cpp_source.html#l00021">21</a> du fichier <a class="el" href="_ville_8cpp_source.html">Ville.cpp</a>.</p>

<p>Références <a class="el" href="_ville_8h_source.html#l00026">m_codeAeroport</a>, et <a class="el" href="_ville_8h_source.html#l00025">m_nom</a>.</p>
<div class="fragment"><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    {</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;        <span class="keywordflow">if</span> (p_ville.m_nom == <a class="code" href="classtp2_1_1_ville.html#a0d09e7e88fdb306b3fe93f94bbd3f27f">m_nom</a> &amp;&amp; p_ville.m_codeAeroport == <a class="code" href="classtp2_1_1_ville.html#ab0d8cfb732eba3b860385a04e8d6b151">m_codeAeroport</a>)</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    }</div>
<div class="ttc" id="classtp2_1_1_ville_html_ab0d8cfb732eba3b860385a04e8d6b151"><div class="ttname"><a href="classtp2_1_1_ville.html#ab0d8cfb732eba3b860385a04e8d6b151">tp2::Ville::m_codeAeroport</a></div><div class="ttdeci">std::string m_codeAeroport</div><div class="ttdef"><b>Definition:</b> <a href="_ville_8h_source.html#l00026">Ville.h:26</a></div></div>
<div class="ttc" id="classtp2_1_1_ville_html_a0d09e7e88fdb306b3fe93f94bbd3f27f"><div class="ttname"><a href="classtp2_1_1_ville.html#a0d09e7e88fdb306b3fe93f94bbd3f27f">tp2::Ville::m_nom</a></div><div class="ttdeci">std::string m_nom</div><div class="ttdef"><b>Definition:</b> <a href="_ville_8h_source.html#l00025">Ville.h:25</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a43c4386edae16ad0c2cd67b44aeaf536"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string tp2::Ville::reqCodeAeroport </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_ville_8h_source.html#l00029">29</a> du fichier <a class="el" href="_ville_8h_source.html">Ville.h</a>.</p>

<p>Références <a class="el" href="_ville_8h_source.html#l00026">m_codeAeroport</a>.</p>
<div class="fragment"><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;                                              {</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="classtp2_1_1_ville.html#ab0d8cfb732eba3b860385a04e8d6b151">m_codeAeroport</a>;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;}</div>
<div class="ttc" id="classtp2_1_1_ville_html_ab0d8cfb732eba3b860385a04e8d6b151"><div class="ttname"><a href="classtp2_1_1_ville.html#ab0d8cfb732eba3b860385a04e8d6b151">tp2::Ville::m_codeAeroport</a></div><div class="ttdeci">std::string m_codeAeroport</div><div class="ttdef"><b>Definition:</b> <a href="_ville_8h_source.html#l00026">Ville.h:26</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a7abe57d51aa825269f77f46a8e7d1c14"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string tp2::Ville::reqNom </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_ville_8h_source.html#l00033">33</a> du fichier <a class="el" href="_ville_8h_source.html">Ville.h</a>.</p>

<p>Références <a class="el" href="_ville_8h_source.html#l00025">m_nom</a>.</p>
<div class="fragment"><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;                                     {</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="classtp2_1_1_ville.html#a0d09e7e88fdb306b3fe93f94bbd3f27f">m_nom</a>;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;}</div>
<div class="ttc" id="classtp2_1_1_ville_html_a0d09e7e88fdb306b3fe93f94bbd3f27f"><div class="ttname"><a href="classtp2_1_1_ville.html#a0d09e7e88fdb306b3fe93f94bbd3f27f">tp2::Ville::m_nom</a></div><div class="ttdeci">std::string m_nom</div><div class="ttdef"><b>Definition:</b> <a href="_ville_8h_source.html#l00025">Ville.h:25</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Documentation des fonctions amies et associées</h2>
<a class="anchor" id="ace72ca1e6e94135f0304ac3146f6984d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classtp2_1_1_ville.html">Ville</a> &amp;&#160;</td>
          <td class="paramname"><em>p_ville</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_ville_8h_source.html#l00020">20</a> du fichier <a class="el" href="_ville_8h_source.html">Ville.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    {</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;        <span class="keywordflow">return</span> out;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Documentation des données membres</h2>
<a class="anchor" id="ab0d8cfb732eba3b860385a04e8d6b151"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string tp2::Ville::m_codeAeroport</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_ville_8h_source.html#l00026">26</a> du fichier <a class="el" href="_ville_8h_source.html">Ville.h</a>.</p>

<p>Référencé par <a class="el" href="_ville_8cpp_source.html#l00021">operator==()</a>, <a class="el" href="_ville_8h_source.html#l00029">reqCodeAeroport()</a>, et <a class="el" href="_ville_8cpp_source.html#l00015">Ville()</a>.</p>

</div>
</div>
<a class="anchor" id="a0d09e7e88fdb306b3fe93f94bbd3f27f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string tp2::Ville::m_nom</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_ville_8h_source.html#l00025">25</a> du fichier <a class="el" href="_ville_8h_source.html">Ville.h</a>.</p>

<p>Référencé par <a class="el" href="_ville_8cpp_source.html#l00021">operator==()</a>, <a class="el" href="_ville_8h_source.html#l00033">reqNom()</a>, et <a class="el" href="_ville_8cpp_source.html#l00015">Ville()</a>.</p>

</div>
</div>
<hr/>La documentation de cette classe a été générée à partir des fichiers suivants :<ul>
<li><a class="el" href="_ville_8h_source.html">Ville.h</a></li>
<li><a class="el" href="_ville_8cpp_source.html">Ville.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Généré le Jeudi Novembre 7 2013 16:27:17 pour Graphes  - Algorithmes de parcours  - par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
